import React from "react";
import './App.css';
import { HashRouter, Route } from "react-router-dom";
import {
  Main,
  Login,
  Register,
} from "./page/index";

function App() {
  return (
    <div>
      <HashRouter>
        <Route exact path="/" component={Main} />
        <Route path="/login" component={Login} />
        <Route path="/register" component={Register} />
      </HashRouter>
    </div>
  );
}

export default App;
